<template>
    <div>
        <div class="feature">
            <div class="body bodyleft">
                <img src="../../assets/finishFeature.png" alt="">
                <div class="font">任务已成功建立</div>
                <el-button class="leftbtn" @click="toHome">返回首页</el-button>
                <el-button type="primary" @click="searchFeature">查看任务</el-button>
            </div>
    </div>
    </div>
</template>

<script>
export default {

    methods: {
         toHome () {
        // console.log(123)
            this.$router.push({path: '/home'})
        },
        searchFeature () {
            this.$router.push({path: '/searchFeature'})
        },
    }

}
</script>

<style lang="scss" scoped>
        .feature {
            padding-top: 230px;
            padding-bottom: 274px;
            background-color: #fff;
            .font {
                font-size: 22px;
            }
            .leftbtn {
                margin-top: 59px;
                margin-right: 55px;
            }
        }
</style>
